package nl.harmidi.util;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class MidiFileFilter extends FileFilter {

	public String getDescription() {
		return "*.mid";
	}
	
	public boolean accept(File file) {
		return file.isDirectory() || file.getName().endsWith(".mid");
	}
	
}
